package com.ly.heart.domain.king.badHandle;

import com.ly.heart.domain.king.BaseChildBo;
import com.ly.heart.domain.king.order.FAuxPropIdBo;
import com.ly.heart.domain.king.order.FBillTypeIDBo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;


@Data
@ApiModel( "金蝶-不良品处理单物料明细" )
@Accessors(chain = true)
public class BadHandleFEntityBo {

    @ApiModelProperty("分录号")
    private Integer FENTRYID;

    @ApiModelProperty("物料编码")
    private FBillTypeIDBo FMateridlId;

    @ApiModelProperty("供应商")
    private FBillTypeIDBo FSupplierId;

    @ApiModelProperty("客户")
    private FBillTypeIDBo FCustomerId;

    @ApiModelProperty("生产车间")
    private FBillTypeIDBo FWorkShopId;

    @ApiModelProperty("工序号")
    private Integer FOperNumber;

    @ApiModelProperty("工序说明")
    private String FOperDescription;

    @ApiModelProperty("仓库")
    private BaseChildBo FStockId;

    @ApiModelProperty("批号")
    private BaseChildBo FLot;

    @ApiModelProperty("单位")
    private BaseChildBo FUnitID;

    @ApiModelProperty("检验单使用决策")
    private String FUsePolicy;

    @ApiModelProperty("检验不良数量")
    private Integer FInspectDefectQty;

    @ApiModelProperty("序列号")
    private FBillTypeIDBo FSerialId;

    @ApiModelProperty("不良处理")
    private String FDefProcess;

    @ApiModelProperty("不良数量")
    private String FDefectiveQty;

    @ApiModelProperty("MRB评审")
    private Boolean FIsMRBReview = false;

    @ApiModelProperty("可销售")
    private Boolean FCanSale = false;

    @ApiModelProperty("判退")
    private Boolean FIsReturn = false;

    @ApiModelProperty("是否折让")
    private Boolean FIsDiscount = false;

    @ApiModelProperty("折让金额")
    private Integer FDiscountQty;

    @ApiModelProperty("币别")
    private FBillTypeIDBo FCurrency;

    @ApiModelProperty("标准应付抵扣")
    private Boolean FStdPayDeduction = false;

    @ApiModelProperty("费用项目")
    private FBillTypeIDBo FExpense;

    @ApiModelProperty("结算组织")
    private BaseChildBo FSettlOrgId;

    @ApiModelProperty("采购组织")
    private BaseChildBo FPurOrgId;

    @ApiModelProperty("销售组织")
    private BaseChildBo FSalOrgId;

    @ApiModelProperty("源单类型")
    private String FSourceBillType;

    @ApiModelProperty("源单编号")
    private String FSourceBillNo;

    @ApiModelProperty("源单内码")
    private Integer FSourceBillId;

    @ApiModelProperty("源单分录内码")
    private Integer FSourceBillEntryId;

    @ApiModelProperty("源单行号")
    private Integer FSourceSeq;

    @ApiModelProperty("基本单位检验不良数量")
    private Integer FBaseInspectDefectQty;

    @ApiModelProperty("基本单位")
    private BaseChildBo FBaseUnitID;

    @ApiModelProperty("源单使用决策表体内码")
    private Integer FSourceBillDetailId;

    @ApiModelProperty("基本单位不良数量")
    private Integer FBaseDefectQty;

    @ApiModelProperty("折让选单金额")
    private Integer FDisCountSelectQty;

    @ApiModelProperty("MRB分录内码")
    private Integer FMRBEntryId;

    @ApiModelProperty("序列号单位")
    private BaseChildBo FSNUnitId;

    @ApiModelProperty("辅助属性")
    private FAuxPropIdBo FAuxPropId;

    @ApiModelProperty("生产单位")
    private BaseChildBo FPrdUnitId;

    @ApiModelProperty("单位转换表头数量")
    private Integer FUnitTransHeadQty;

    @ApiModelProperty("单位转换工序数量")
    private Integer FUnitTransOperQty;

    @ApiModelProperty("检验单序列号")
    private FBillTypeIDBo FQcSerialId;

    @ApiModelProperty("使用决策备注")
    private String FMemo;

    @ApiModelProperty("BOM版本")
    private FBillTypeIDBo FBomId;

    @ApiModelProperty("生产日期")
    private String FProduceDate;

    @ApiModelProperty("有效期至")
    private String FExpiryDate;

    @ApiModelProperty("计划跟踪号")
    private String FMtoNo;

    @ApiModelProperty("货主类型")
    private String FOwnerTypeId;

    @ApiModelProperty("货主")
    private BaseChildBo FOwnerId;

    @ApiModelProperty("保管者类型")
    private String FKeeperTypeId;

    @ApiModelProperty("保管者")
    private BaseChildBo FKeeperId;

    @ApiModelProperty("库存组")
    private FBillTypeIDBo FStockGroupId;

    @ApiModelProperty("仓管员")
    private FBillTypeIDBo FStockerId;

    @ApiModelProperty("新有效期至")
    private String FNewExpiryDate;

    @ApiModelProperty("反写检验单折让金额")
    private Integer FSrcDiscount;

    @ApiModelProperty("源单信息")
    private List<FRefEntityBo> FRefEntity;


}
